Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Constants and Data Types for the Raster Imaging System


Raster Imaging System Structure

The raster imaging system structure, of data type gxRasterImageDataRec, is the structure that QuickDraw GX uses to maintain information about the state of the raster imaging system. This structure is used with the GXRasterLineFeed and GXRasterPackageBitmap messages, which are described in the section
"Raster Imaging Messages" beginning on page 4-97.

struct gxRasterImageDataRec {
   gxRasterRenderOptions      renderOptions;
   Fixed                      hImageRes;
   Fixed                      vImageRes;
   short                      minBandSize;
   short                      maxBandSize;
   gxRectangle                pageSize;
   short                      currentYPos;
   gxRasterPackageRec         packagingInfo;
   Boolean                    optionsValid;
   gxRasterPackageControlsRec packageControls;
   gxOffscreenSetupRec        theSetup;
}; 
typedef struct gxRasterImageDataRec gxRasterImageDataRec, 
*gxRasterImageDataPtr, **gxRasterImageDataHdl;
Field Description
renderOptions
Rendering options for raster imaging. This value is the combined values of the constants that you include from the raster render options enumeration, which is described in the next section.
hImageRes
The horizontal resolution for imaging.
vImageRes
The vertical resolution for imaging.
minBandSize
The minimum band size to use, in pixels.
maxBandSize
The maximum band size to use, in pixels.
pageSize
The size of the page in pixels.
currentYPos
The current position on the page.
packagingInfo
The raster package structure.
optionsValid
A Boolean value that is true if options are specified for the packaging messages and false if not.
packageControls

The raster package controls structure.
theSetup
The setup for the offscreen planar area data. This is a variable length object.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help